<?php
	if (!defined('FRAMEWORK_INIT'))
	{
		die('How come FRAMEWORK_INIT not be initalized when it should? Try index.php?action=postfeedback !');	
	}
	
	$product	=	$_GET['game'];
	$username	=	$_POST['steamaccount'];
	$text		=	$_POST['text'];
	
	$date = datadate();
	$query = sprintf("INSERT INTO distribution_feedback (username, product, posted, text) VALUES ('%s', '%s', %s, '%s')",
						   $username,
						   $product,
						   slash($date),
						   $text);
	
	sql_once($query);
?>